<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>列表展示</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for='item in movies'>{{item}}</li>
        </ul>
    </div>
<script src="../js/vue.js"></script>
<script>
    new Vue({
        el:'#app',
        data:{
            message:'电影大全',
            movies:['海王','蜘蛛侠','钢铁侠','超人','金刚']
        }
    })
</script>
</body>
</html>